package com.cloud.business.service.sys;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloud.business.entity.sys.SysSellerUser;
import com.cloud.business.model.commonvm.DeletePost;
import com.cloud.business.model.commonvm.ResultMsg;
import com.cloud.business.model.sys.sysselleruservm.SysSellerUserModel;
import com.cloud.business.model.sys.sysselleruservm.SysSellerUserPost;
import com.cloud.business.model.sys.sysselleruservm.SysSellerUserQueryModel;
import com.cloud.business.model.sys.sysuservm.SysUserModel;
import com.cloud.business.model.sys.sysuservm.SysUserQueryModel;
import com.cloud.core.common.Page;

import java.util.List;


/**
 * 系统用户业务定义层
 * Copyright: Copyright (C) 2020 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 * controller需要执行mp方法请继承extends IService<Entity>
 *
 * @author Rex
 * @since 2021-05-16 14:22:52
 */
public interface ISysSellerUserService {
    /**
     * 分页列表
     *
     * @param sysSellerUserQueryModel
     * @param page
     * @param msg
     * @throws Exception
     */
    void getSysSellerUserListByPage(SysSellerUserQueryModel sysSellerUserQueryModel, IPage<SysSellerUserModel> page, ResultMsg msg) throws Exception;

    /**
     * 创建
     *
     * @param post 入参
     * @return {@link String}
     * @author Rex
     */
    String create(SysSellerUserPost post);

    /**
     * 更新
     *
     * @param post 入参
     * @return {@link String}
     * @author Rex
     */
    String update(SysSellerUserPost post);

    /**
     * 获取单条
     *
     * @param objectId 主键
     * @return {@link SysSellerUser}
     * @author Rex
     */
        SysSellerUser getById(Long objectId);

    /**
     * 批量删除
     *
     * @param deletePost 主键集合
     * @return {@link String}
     * @author Rex
     */
    String deleteByList(DeletePost deletePost);

    /**
     * 批量创建
     *
     * @param sysSellerUsers 入参
     * @return {@link String}
     * @author Rex
     */
    String createBatch(List<SysSellerUser> sysSellerUsers);
    /**
     * 导出列表
     *
     * @param sysSellerUserQueryModel
     * @throws Exception
     */
    List<SysSellerUser> getSysSellerUserListForExport(SysSellerUserQueryModel sysSellerUserQueryModel) throws Exception;

}

